package com.basker.pisces.core.iterate;

import java.util.Stack;

import com.basker.pisces.core.meta.ICollectionField;

public class DataCollectionIterateEvent {
    private ICollectionField collectionField;
    private Object parentObject;
    private Stack<String> iteratePath;

    public DataCollectionIterateEvent(ICollectionField collectionField, Object parentObject,
                                      Stack<String> iteratePath) {
        this.collectionField = collectionField;
        this.parentObject = parentObject;
        this.iteratePath = iteratePath;
    }

    public ICollectionField getCollectionField() {
        return collectionField;
    }

    public Stack<String> getIteratePath() {
        return iteratePath;
    }

    public Object getParentObject() {
        return parentObject;
    }

}
